[Integrity] of a Http Post Request from Iphone to web server
        Posted  
        
            by gotye
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by gotye
        
        
        
        Published on 2010-03-26T18:38:34Z
        Indexed on 
            2010/03/26
            18:43 UTC
        
        
        Read the original article
        Hit count: 262
        
Hey everyone,
I am currently building a module that makes possible to comment a news and as you probably understood, I will need to insert this new comment in my web database.
I know this stuff can be very fastidous so I would like to know if someone has a method which could assure the integrity of the request by checking some of the usual important stuff liek :
- trimming the string
 - encoding it ?
 - escaping it ?
 - and so on ...
 
If you have some tips to achieve a good insert, do not hesitate ;)
Thank you for your time,
Gotye.
© Stack Overflow or respective owner